<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html ;charset=utf-8"/>
    <meta name="google" content="notranslate" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1" />
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="description" content="EAI交易圈" />
    <meta name="keywords" content="策略,订阅,充值,外汇,金属,原油,指数,数据" />
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="shortcut icon" type="image/x-icon" href="{{URL::asset('handan/images/logo-icon.png')}}" />
    <title>PIN设置</title>
    <link rel="stylesheet" type="text/css" href="{{ URL::asset('public_css/base.css') }}" />
    <link rel="stylesheet" type="text/css" href="{{ URL::asset('pin/pin.css') }}" />
    <script type="text/javascript" src="{{ URL::asset('public_js/jquery-1.8.3.min.js') }}"></script>
    <script src="{{ URL::asset('js/layer/layer.js') }}"></script>
    <script src="{{ URL::asset('/pin/pin.js') }}"></script>
</head>
<body>
@include('new.newheader')
<div class="L_pin">
    <!-- 公共tab切换 -->
    <div class="pin_tab">
        <div class="active">
            <span>PIN设置</span>
            <span class="circle b_circle"><span class="s_circle"></span></span>
        </div>
        <div>
            <span>实名认证<span style="font-size: 12px;color: 848484;">(选填)</span></span>
            <span class="circle b_circle"><span class="s_circle"></span></span>
        </div>
        <div>
            <span>激活完成</span>
            <span class="circle b_circle"><span class="s_circle"></span></span>
        </div>
    </div>
</div>
<div class="tabItem1 L_input">
    <form method="post" name="lform" class="L_form">
        <div>
            <span class="color1e span_w" style="margin-top: 0;">密码设置</span>
            <span class="color83">请您设置您的专属密码</span>
        </div> 
        <div>
            <span class="span_w">PIN</span>
            <input type="password" class="pwd_set" placeholder="请输入PIN码" maxlength="6" id="pwd_pin">
            <span class="tip tip1_hide">输入有误</span>
            <span class="tip tip_img tip1_img">√</span>
        </div>
        <div>
            <span class="span_w">密码</span>
            <input type="password" class="pwd_set" placeholder="请输入8位密码" minlength="8" maxlength="15" id="pwd1">
            <span class="tip tip2_hide">密码不能少于8位 建议数字、字母组合</span>
            <span class="tip tip_img tip2_img">√</span>
        </div>
        <div>
            <span class="span_w">确认密码</span>
            <input type="password" class="pwd_set" placeholder="请输入确认密码" minlength="8" maxlength="15" id="pwd2">
            <span class="tip tip3_hide">两次密码不一致</span>
            <span class="tip tip_img tip3_img">√</span>
        </div>
        <div class="next_step" id="next-step1" style="margin-top: 30px;">下一步</div>
    </form>
</div>
<div class="tabItem2 L_input" style="display: none;">
    <div class="L_form L_form2">
        <div class="jump" id="jump">跳过</div>
        <div class="section">
            <div class="left">
                <div>
                    <p class="color1e">身份认证</p>
                    <p class="color83">请输入真实有效的信息</p>
                </div>
            </div>
            <div class="right">
                <div>
                    <span class="span_w">真实姓名</span>
                    <input type="text" class="pwd_set" placeholder="请输入真实姓名" id="realName">
                    <span class="tip tip4_hide">请输入中文姓名</span>
                    <span class="tip tip_img tip4_img">√</span>
                </div>
                <div>
                    <span class="span_w">手机号码</span>
                    <input type="text" class="pwd_set" placeholder="请输入手机号" id="telNum">
                    <span class="tip tip5_hide">请输入正确的手机号</span>
                    <span class="tip tip_img tip5_img">√</span>
                </div>
                <div style="height: 60px;padding-top: 15px;">
                    <span class="span_w" style="margin-top: 0px;">验证码</span>
                    <input type="text" class="pwd_set pwd_yz" placeholder="请输入验证码" id="yznum" style="margin-top: 0;">
                    <span class="yz_time" id="yzCode">发送验证码</span>
                    <span class="tip tip6_hide">请输入正确的验证码</span>
                    <span class="tip tip_img tip6_img">√</span>
                </div>
                <div>
                    <span class="span_w">邮箱号码</span>
                    <input type="text" class="pwd_set" placeholder="请输入邮箱号" id="emailNum">
                    <span class="tip tip7_hide">请输入正确的邮箱号码</span>
                    <span class="tip tip_img tip7_img">√</span>
                </div>
                <div style="margin-top: 20px;">
                    <span class="color1e" style="margin-right: 40px;">上传身份证</span>
                    <span class="color83">请您上传字迹清晰的照片</span>
                </div>
                <div class="upload_card">
                    <!-- <span></span>
                    <span></span> -->
                    <!-- 正面 -->
                    <span class="front file_upload" id="frontBox">
                        <input style="display: none;" name="idcardimg" id="idcardimg" type="text"/>
                        <img src="{{URL::asset('/images/rect1.png')}}" alt="" id='img1'>
                        <form id="uploadzhengForm" name="uploadzhengForm" action="{{url('uploadimg')}}" method="post">
                            <input style="display: none;" name="image" id="front_icon" type="file" class="inputFile"/>
                            <input style="display: none;" name="type" type="text" value="2"/>
                        </form>
                    </span>
                    <!-- 反面 -->
                    <span class="back file_upload" id="backBox">
                        <input style="display: none;" name="idcardimgf" id="idcardimgf" type="text"/>
                        <img src="{{URL::asset('/images/rect2.png')}}" alt="" id='img2'>
                        <form id="uploadfanForm" name="uploadfanForm" action="{{url('uploadimg')}}" method="post">
                            <input style="display: none;" name="image" id="back_icon" type="file" class="inputFile"/>
                            <input style="display: none;" name="type" type="text" value="2"/>
                        </form>
                    </span>
                </div>
            </div>
        </div>
        <div class="line"></div>
        <div class="section2">
            <div class="left left2">
                <div>
                    <p class="color1e">居住证明</p>
                    <p class="color83">请您上传字迹清晰的照片</p>
                    <p class="color83">(可上传护照、驾驶证、户口本)</p>
                </div>
            </div>
            <div class="right right2">
                <div>
                    <span class="span_w">居住地址</span>
                    <input type="text" class="pwd_set" placeholder="请输入居住地址" id="addr">
                    <span class="tip tip8_hide">请输入居住地址</span>
                    <span class="tip tip_img tip8_img">√</span>
                </div>
                <div class="upload_card">
                    <!-- 主页 -->
                    <span class="front file_upload" id="homePage">
                        <input style="display: none;" name="homeimg" id="homeImg" type="text"/>
                        <img src="{{URL::asset('/images/zye.png')}}" alt="" id='homeimg1'>
                        <form id="uploadhomeForm" name="uploadhomeForm" action="{{url('uploadimg')}}" method="post">
                            <input style="display: none;" name="image" id="home_icon" type="file" class="inputFile"/>
                            <input style="display: none;" name="type" type="text" value="2"/>
                        </form>
                    </span>
                    <!-- 副页 -->
                    <span class="front file_upload" id="fuHomePage">
                        <input style="display: none;" name="homeimg" id="fuHomeImg" type="text"/>
                        <img src="{{URL::asset('/images/fye.png')}}" alt="" id='homeimg2'>
                        <form id="uploadfuhomeForm" name="uploadfuhomeForm" action="{{url('uploadimg')}}" method="post">
                            <input style="display: none;" name="image" id="fuHome_icon" type="file" class="inputFile"/>
                            <input style="display: none;" name="type" type="text" value="2"/>
                        </form>
                    </span>
                </div>
            </div>
        </div>
        <div class="next_step next_step2">下一步</div>
    </div>
</div>
<div class="tabItem3 success" style="display: none;">
    <div class="img">
        <img src="{{ URL::asset('/images/cg.png') }}" />
    </div>
    <p>激活成功</p>
    <div class="pin_sure">确定</div>
</div>
</body>
</html>
<script>
    var telurl          = "{{url('/checktel') }}",     // 手机号是否认证
        sendIdentify    = "{{url('/sendIdentify') }}", // 验证码
        imgurl          = "{{url('uploadimg')}}",      //上传图片地址
        loginurl        = "{{ url('/') }}",            // 激活完成
        checkpin        = "{{url('/checkpin')}}",  //判断PIN账号是否正确
        pinRenZheng     =  "{{url('/pinrenzheng')}}", //PIN账号实名认证      
        checkverifycode = "{{url('/checkverifycode') }}", // 验证码校验
        activate = "{{url('/activate') }}"; //激活账号，会员日期开始倒计时
    var pinstatus     = 0,
        userpwd       = 0,
        username      = 0,
        telStatus     = 0,
        verifyStatus  = 0,
        emailstatus   = 0,
        addrstatus    = 0,
        zcardstatus   = 0,
        fcardstatus   = 0,
        homepagestatus= 0,
        fupagestatus  = 0,
        yanzhenma     = 0;
</script>

